﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Novell.DirectoryServices.Linq
{
    internal interface IUpdatableDirectorySource : IDirectorySource
    {

        void RegisterForSubmissionNotifications(DirectoryEntity entity);

        #region Methods
        /// <summary>
        /// Callback method for entity property change tracking.
        /// </summary>
        void UpdateNotification(object sender, PropertyChangedEventArgs e);

        /// <summary>
        /// Update changes in the underlying data source.
        /// </summary>
        void SubmitChanges();

        #endregion
    }
}
